package com.crm.dao.mapper.customerManager;

import com.crm.model.dto.CustomerPoolDto;
import com.crm.model.entity.customerManager.CustomerPool;
import com.crm.model.entity.customerManager.CustomerPoolExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CustomerPoolMapper {
    long countByExample(CustomerPoolExample example);

    int deleteByExample(CustomerPoolExample example);

    int deleteByPrimaryKey(String customerPoolId);

    int insert(CustomerPool record);

    int insertSelective(CustomerPool record);

    List<CustomerPool> selectByExampleWithBLOBs(CustomerPoolExample example);

    List<CustomerPool> selectByExample(CustomerPoolExample example);

    CustomerPool selectByPrimaryKey(String customerPoolId);

    int updateByExampleSelective(@Param("record") CustomerPool record, @Param("example") CustomerPoolExample example);

    int updateByExampleWithBLOBs(@Param("record") CustomerPool record, @Param("example") CustomerPoolExample example);

    int updateByExample(@Param("record") CustomerPool record, @Param("example") CustomerPoolExample example);

    int updateByPrimaryKeySelective(CustomerPool record);

    int updateByPrimaryKeyWithBLOBs(CustomerPool record);

    int updateByPrimaryKey(CustomerPool record);

    CustomerPoolDto selectPoolByName(String name);
}